package com.qiaofang.applet.common.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

/**
 * @author QF2019
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SmsDto {

    @ApiModelProperty("发送短信的url")
    private String url;

    @ApiModelProperty("系统账号token")
    private String token;

    @ApiModelProperty("系统账号密码")
    private String secret;

    @ApiModelProperty("主账号编号")
    private String mainAccountCode;

    @ApiModelProperty("子账号编号")
    private String subAccountCode;

    @ApiModelProperty("短信模板ID")
    private String templateId;

    @ApiModelProperty("替换短信模板中占位符的参数 多个 {key:key1,value:xxx},{key:key2:value:xxx}")
    private Map<String, Object> templateParam;

    @ApiModelProperty("手机号码")
    private List<String> mobiles;
}
